import http from "../utils/http/http.js";

const uploadImage = (data) => {
  return http.post("/api/upload/image", data);
};
const uploadVideo = (data) => {
  return http.post("/api/upload/video", data);
};
export default {
  uploadImage,
  uploadVideo,
};
